﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MainMasterPage.Master" AutoEventWireup="true" CodeBehind="SchoolDetails.aspx.cs" Inherits="OpenSIS.School.SchoolDetails" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>


<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">

 <table border="0"  cellspacing="0" width="100%" cellpadding="0" align="center" id="div122" onload="javascript:document.getElementById('div122').style.height = (screen.height) - 340;">
        <tr>
            <td  valign="top">
                <table width="100%" border="0" cellspacing="0" cellpadding="0" align="center">
                    <tr>
                        <td class="page_heading_black">
                            
                            <asp:Label class="page_heading_black" ID="lblFoundCount" runat="server" meta:resourcekey="lblFoundCount"></asp:Label>
                        </td>
                        <td align="right">
                            <table border="0" cellspacing="0" cellpadding="0">
                                <tr>
                                
                                    <td  valign="top">
                                        <asp:ImageButton ID="ibtnAdd" CausesValidation="false" runat="server" ImageUrl="~/App_Themes/main/images/add.png" />
                                        
                                    </td>
                                    <td  valign="top">
                                        <img src="../App_Themes/main/images/icon_separator.png" />
                                    </td>
                                    <td  valign="top">
                                        <asp:ImageButton ID="imgBtnEdit" CausesValidation="false" runat="server" ImageUrl="~/App_Themes/main/images/edit.png"
                                            OnClick="imgBtnEdit_Click" />
                                    </td>
                                    <td  valign="top">
                                        <img src="../App_Themes/main/images/icon_separator.png" />
                                    </td>
                                    <td  valign="top">
                                        <asp:ImageButton ID="imgBtnCopy" runat="server" ImageUrl="~/App_Themes/main/images/copy.png"
                                            CausesValidation="false" />
                                    </td>
                                    <td  valign="top">
                                        <img src="../App_Themes/main/images/icon_separator.png" />
                                    </td>
                                    <td  valign="top">
                                        <asp:ImageButton ID="imgBtnDelete" runat="server" ImageUrl="~/App_Themes/main/images/delete.png"
                                            CausesValidation="false" OnClientClick="if(!confirm('Are you sure ?')){return false;}" />
                                    </td>
                                </tr>
                            </table>
                        </td>
                    </tr>
                </table>
                <div class="clear_m">
                </div>
                <asp:Panel ID="panel_Popup" runat="server" style="display:none;" CssClass="ModalPopup" Width="950" Height="550">
                  <table width="100%" cellpadding="0" cellspacing="0">
                    <tr>
                        <td class="modal_header_left bottom_black">&nbsp;</td>
                        <td class="modal_header_bg" valign="top"><div class="modal_header"><asp:Literal ID="ML_0008" runat="server" meta:resourcekey="ML_0008">Add School Details</asp:Literal></div></td>
                    </tr>
                    <tr>
                        <td class="modal_rtgrey">&nbsp;</td>
                        <td class="modal_bg">
                        <div style="overflow: auto; overflow-x: hidden; width:100%; height: 433px;">
                            
                            
                            <table width="100%" cellpadding="0" cellspacing="0">
                                <tr>
                                    <td width="49%" valign="top" style="padding-right:10px;">
                              <table width="100%">
                                <tr>
                                    <td  valign="top"><strong><asp:Literal ID="ML_0009" runat="server" meta:resourcekey="ML_0009">General Information</asp:Literal></strong>
                                    </td>
                                </tr>
                                <tr>
                                    <td class="separator_hor">&nbsp;</td>
                                </tr>
                              </table>
                                        <div>
                              <table width="100%">
                                <tr>
                                    <td style="width:50%;" valign="top">
                                        <asp:Literal ID="ML_0010" runat="server" meta:resourcekey="ML_0010">School Name</asp:Literal>
                                    </td>
                                    <td class="colon" valign="top">
                                        <asp:Literal ID="ML_0011" runat="server" meta:resourcekey="ML_0011">:</asp:Literal>
                                    </td>
                                    <td  valign="top">
                                        <asp:TextBox CssClass="textbox1" ID="txtSchoolName" runat="server" meta:resourcekey="txtSchoolName"></asp:TextBox><br />
                                        <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="txtSchoolName" Display="Dynamic" ErrorMessage="<div class='alert' align='left'>School name can't be blank</div>" meta:resourcekey="RequiredFieldValidator2"></asp:RequiredFieldValidator>
                                        
                                    </td>
                                </tr>
                                <tr>
                                    <td valign="top">
                                        <asp:Literal ID="ML_0014" runat="server" meta:resourcekey="ML_0014">Short Name</asp:Literal>
                                    </td>
                                    <td valign="top">
                                        <asp:Literal ID="ML_0015" runat="server" meta:resourcekey="ML_0015">:</asp:Literal>
                                    </td>
                                    <td  valign="top">
                                        <asp:TextBox CssClass="textbox1" ID="txtShortName" runat="server" meta:resourcekey="txtShortName"></asp:TextBox><br />
                                        <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ControlToValidate="txtShortName"
                                            Display="Dynamic" ErrorMessage="<div class='alert' align='left'>Short name can't be blank</div>" meta:resourcekey="RequiredFieldValidator4"></asp:RequiredFieldValidator>
                                        
                                    </td>
                                </tr>
                                <tr>
                                    <td valign="top">
                                        <asp:Literal ID="ML_0018" runat="server" meta:resourcekey="ML_0018">Principal</asp:Literal> 
                                    </td>
                                    <td  valign="top">
                                        <asp:Literal ID="ML_0019" runat="server" meta:resourcekey="ML_0019">:</asp:Literal>
                                    </td>
                                    <td valign="top">
                                        <asp:TextBox CssClass="textbox1" ID="txtPrincipal" runat="server" meta:resourcekey="txtPrincipal"></asp:TextBox>
                                    </td>
                                </tr>
                                <tr>
                                    <td valign="top">
                                        <asp:Literal ID="ML_0021" runat="server" meta:resourcekey="ML_0021">Telephone</asp:Literal>
                                    </td>
                                    <td valign="top">
                                        <asp:Literal ID="ML_0022" runat="server" meta:resourcekey="ML_0022">:</asp:Literal>
                                    </td>
                                    <td  valign="top">
                                        <asp:TextBox CssClass="textbox1" ID="txtPhone" runat="server" meta:resourcekey="txtPhone"></asp:TextBox><br />
                                        <asp:RequiredFieldValidator ID="RequiredFieldValidator7" runat="server" ControlToValidate="txtPhone"
                                            Display="Dynamic" ErrorMessage="<div class='alert' align='left'>Phone can't be blank</div>" meta:resourcekey="RequiredFieldValidator7"></asp:RequiredFieldValidator>
                                    </td>
                                </tr>
                                <tr>
                                    <td valign="top">
                                        <asp:Literal ID="ML_0025" runat="server" meta:resourcekey="ML_0025">Fax</asp:Literal>
                                    </td>
                                    <td valign="top">
                                        <asp:Literal ID="ML_0026" runat="server" meta:resourcekey="ML_0026">:</asp:Literal>
                                    </td>
                                    <td valign="top">
                                        <asp:TextBox CssClass="textbox1" ID="txtFax" runat="server" meta:resourcekey="txtFax"></asp:TextBox>
                                    </td>
                                </tr>
                                <tr>
                                    <td valign="top">
                                        <asp:Literal ID="ML_0028" runat="server" meta:resourcekey="ML_0028">Emergency Phone</asp:Literal>
                                    </td>
                                    <td valign="top">
                                        <asp:Literal ID="ML_0029" runat="server" meta:resourcekey="ML_0029">:</asp:Literal>
                                    </td>
                                    <td valign="top">
                                        <asp:TextBox CssClass="textbox1" ID="txtEmer" runat="server" meta:resourcekey="txtEmer"></asp:TextBox>
                                    </td>
                                </tr>
                                <tr>
                                    <td valign="top">
                                        <asp:Literal ID="ML_0031" runat="server" meta:resourcekey="ML_0031">Website</asp:Literal>
                                    </td>
                                    <td valign="top">
                                        <asp:Literal ID="ML_0032" runat="server" meta:resourcekey="ML_0032">:</asp:Literal>
                                    </td>
                                    <td valign="top">
                                        <asp:TextBox CssClass="textbox1" ID="txtUrl" runat="server" meta:resourcekey="txtUrl"></asp:TextBox>
                                    </td>
                                </tr>
                                <tr>
                                    <td valign="top">
                                        <asp:Literal ID="ML_0034" runat="server" meta:resourcekey="ML_0034">Email</asp:Literal> 
                                    </td>
                                    <td valign="top">
                                        <asp:Literal ID="ML_0035" runat="server" meta:resourcekey="ML_0035">:</asp:Literal>
                                    </td>
                                    <td valign="top">
                                        <asp:TextBox CssClass="textbox1" ID="txtEmail" runat="server" meta:resourcekey="txtEmail"></asp:TextBox><br />
                                     
                                    </td>
                                </tr>
                                <tr>
                                    <td valign="top">
                                        <asp:Literal ID="ML_0038" runat="server" meta:resourcekey="ML_0038">Base Grading Scale</asp:Literal> 
                                    </td>
                                    <td valign="top">
                                        <asp:Literal ID="ML_0039" runat="server" meta:resourcekey="ML_0039">:</asp:Literal>
                                    </td>
                                    <td valign="top">
                                        <asp:TextBox CssClass="textbox1" ID="txtGradingScale" runat="server" meta:resourcekey="txtGradingScale"></asp:TextBox>
                                    </td>
                                 </tr>
                                <tr>
                                    <td valign="top">
                                        <asp:Literal ID="ML_0041" runat="server" meta:resourcekey="ML_0041">CEB Code</asp:Literal>
                                    </td>
                                    <td valign="top">
                                        <asp:Literal ID="ML_0042" runat="server" meta:resourcekey="ML_0042">:</asp:Literal>
                                    </td>
                                    <td valign="top">
                                        <asp:TextBox CssClass="textbox1" ID="txtCeeb" runat="server" meta:resourcekey="txtCeeb"></asp:TextBox><br />
                                        <asp:RequiredFieldValidator ID="RequiredFieldValidator24" runat="server" ControlToValidate="txtCeeb"
                                            Display="Dynamic" ErrorMessage="<div class='alert' align='left'>CEB can't be blank</div>" meta:resourcekey="RequiredFieldValidator24"></asp:RequiredFieldValidator>
                                            <asp:RegularExpressionValidator
                                                ID="RegularExpressionValidator2" runat="server" ErrorMessage="<div class='alert' align='left'>Enter numeric value</div>"
                                                Display="Dynamic" ControlToValidate="txtCeeb" ValidationExpression="\d" meta:resourcekey="RegularExpressionValidator2"></asp:RegularExpressionValidator>
                                    </td>
                                </tr>
                                <tr>
                                    <td valign="top">
                                        <asp:Literal ID="ML_0046" runat="server" meta:resourcekey="ML_0046">Type</asp:Literal>
                                    </td>
                                    <td valign="top">
                                        <asp:Literal ID="ML_0047" runat="server" meta:resourcekey="ML_0047">:</asp:Literal>
                                    </td>
                                    <td valign="top">
                                        <asp:TextBox CssClass="textbox1" ID="txtType" runat="server" meta:resourcekey="txtType"></asp:TextBox><br />
                                        <asp:RequiredFieldValidator ID="RequiredFieldValidator9" runat="server" ControlToValidate="txtType"
                                            Display="Dynamic" ErrorMessage="<div class='alert' align='left'>Type can't be blank</div>" meta:resourcekey="RequiredFieldValidator9"></asp:RequiredFieldValidator>
                                    </td>
                                </tr>
                                <tr>
                                    <td valign="top">
                                        <asp:Literal ID="ML_0050" runat="server" meta:resourcekey="ML_0050">Level</asp:Literal>
                                    </td>
                                    <td valign="top">
                                        <asp:Literal ID="ML_0051" runat="server" meta:resourcekey="ML_0051">:</asp:Literal>
                                    </td>
                                    <td valign="top">
                                        <asp:TextBox CssClass="textbox1" ID="txtLevel" runat="server" meta:resourcekey="txtLevel"></asp:TextBox><br />
                                        <asp:RequiredFieldValidator ID="RequiredFieldValidator8" runat="server" ControlToValidate="txtLevel"
                                            Display="Dynamic" ErrorMessage="<div class='alert' align='left'>Level can't be blank</div>" meta:resourcekey="RequiredFieldValidator8"></asp:RequiredFieldValidator>
                                    </td>
                                </tr>
                            
                                
                                </table>
                                        </div>
                                    </td>
                                    <td class="colon separator_ver" style="padding-right:10px;">&nbsp;</td>
                                    <td valign="top" style="padding-right:5px;">
                                        <div>
                                            <table width="100%">
                                                <tr>
                                                    <td valign="top"><strong><asp:Literal ID="ML_0062" runat="server" meta:resourcekey="ML_0062">Address</asp:Literal></strong></td>
                                                </tr>
                                                <tr>
                                                    <td class="separator_hor">&nbsp;</td>
                                                </tr>
                                            </table>
                                            <div>
                              <table width="100%">
                                <tr>
                                    <td valign="top">
                                        <asp:Literal ID="ML_0063" runat="server" meta:resourcekey="ML_0063"> Address 1</asp:Literal>
                                    </td>
                                    <td class="colon" valign="top">
                                        <asp:Literal ID="ML_0064" runat="server" meta:resourcekey="ML_0064">:</asp:Literal>
                                    </td>
                                    <td valign="top">
                                        <asp:TextBox CssClass="textbox1" ID="txtAddress1" runat="server" meta:resourcekey="txtAddress1"></asp:TextBox><br />
                                        <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="txtAddress1"
                                            Display="Dynamic" ErrorMessage="<div class='alert' align='left'>Address1 can't be blank</div>" meta:resourcekey="RequiredFieldValidator3"></asp:RequiredFieldValidator>
                                    </td>
                                </tr>
                                <tr>
                                    <td valign="top">
                                        <asp:Literal ID="ML_0067" runat="server" meta:resourcekey="ML_0067"> Address 2</asp:Literal>
                                    </td>
                                    <td class="colon" valign="top">
                                        <asp:Literal ID="ML_0068" runat="server" meta:resourcekey="ML_0068">:</asp:Literal>
                                    </td>
                                    <td valign="top">
                                        <asp:TextBox CssClass="textbox1" ID="txtAddress2" runat="server" meta:resourcekey="txtAddress2"></asp:TextBox>
                                    </td>
                                </tr>
                                <tr>
                                    <td valign="top">
                                        <asp:Literal ID="ML_0070" runat="server" meta:resourcekey="ML_0070">City</asp:Literal>
                                    </td>
                                    <td class="colon" valign="top">
                                        <asp:Literal ID="ML_0071" runat="server" meta:resourcekey="ML_0071">:</asp:Literal>
                                    </td>
                                    <td valign="top">
                                        <asp:TextBox CssClass="textbox1" ID="txtCity" runat="server" meta:resourcekey="txtCity"></asp:TextBox><br />
                                        <asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" ControlToValidate="txtCity"
                                            Display="Dynamic" ErrorMessage="<div class='alert' align='left'>City can't be blank</div>" meta:resourcekey="RequiredFieldValidator5"></asp:RequiredFieldValidator>
                                    </td>
                                </tr>
                                <tr>
                                    <td valign="top">
                                        <asp:Literal ID="ML_0074" runat="server" meta:resourcekey="ML_0074">State</asp:Literal>
                                    </td>
                                    <td class="colon" valign="top">
                                        <asp:Literal ID="ML_0075" runat="server" meta:resourcekey="ML_0075">:</asp:Literal>
                                    </td>
                                    <td valign="top">
                                        <asp:DropDownList CssClass="dropdown_new" ID="ddlState" runat="server">
                                        </asp:DropDownList><br />
                                        <asp:RequiredFieldValidator ID="RequiredFieldValidator6" runat="server" ControlToValidate="ddlState"
                                            Display="Dynamic" ErrorMessage="<div class='alert' align='left'>Select state</div>" InitialValue="0" meta:resourcekey="RequiredFieldValidator6"></asp:RequiredFieldValidator>
                                    </td>
                                </tr>
                                <tr>
                                    <td valign="top">
                                        <asp:Literal ID="ML_0078" runat="server" meta:resourcekey="ML_0078">Zip/Postal Code</asp:Literal>
                                    </td>
                                    <td class="colon" valign="top">
                                        <asp:Literal ID="ML_0079" runat="server" meta:resourcekey="ML_0079">:</asp:Literal>
                                    </td>
                                    <td valign="top">
                                        <asp:TextBox CssClass="textbox1" ID="txtZip" runat="server" MaxLength="10" meta:resourcekey="txtZip"></asp:TextBox><br />
                                        <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="txtZip"
                                            Display="Dynamic" ErrorMessage="<span class='alert' align='left'>Zip can't be blank</span>" meta:resourcekey="RequiredFieldValidator1"></asp:RequiredFieldValidator>
                                    </td>
                                </tr>
                                <tr>
                                    <td valign="top">
                                        <asp:Literal ID="ML_0082" runat="server" meta:resourcekey="ML_0082">Country</asp:Literal> 
                                    </td>
                                    <td class="colon" valign="top">
                                        <asp:Literal ID="ML_0083" runat="server" meta:resourcekey="ML_0083">:</asp:Literal>
                                    </td>
                                    <td valign="top">
                                    
                                        <asp:DropDownList CssClass="dropdown_new" ID="ddlCountry" runat="server">
                                        </asp:DropDownList><br />
                                        <asp:RequiredFieldValidator ID="RequiredFieldValidator27" runat="server" ControlToValidate="ddlCountry"
                                            Display="Dynamic" ErrorMessage="<div class='alert' align='left'>Select Country</div>" InitialValue="0" meta:resourcekey="RequiredFieldValidator27"></asp:RequiredFieldValidator>
                                    </td>
                                </tr>
                                </table>
                                            </div>
                                        </div>
                                        
                                        <div>
                                            <table width="100%" border="0">
                                                <tr>
                                                    <td class="clear_medium"></td>
                                                </tr>
                                                <tr>
                                                    <td valign="top"><span class="heading_black"><asp:Literal ID="ML_0086" runat="server" meta:resourcekey="ML_0086">Mailing Address</asp:Literal></span><span style="padding-left:5px;"><asp:CheckBox ID="addrChk" runat="server" meta:resourcekey="addrChk"/> <asp:Literal ID="ML_0131" runat="server" meta:resourcekey="ML_0131">Same as  Address</asp:Literal></span></td>
                                                </tr>
                                                <tr>
                                                    <td class="separator_hor">&nbsp;</td>
                                                </tr>
                                            </table>
                                            <div>
                              <table width="100%">
                                <tr>
                                    <td valign="top">
                                 
                                        <asp:Literal ID="ML_0132" runat="server" meta:resourcekey="ML_0132">Post Office Box</asp:Literal>
                                    </td>
                                    <td valign="top" class="colon">
                                        <asp:Literal ID="ML_0133" runat="server" meta:resourcekey="ML_0133">:</asp:Literal>
                                    </td>
                                    <td valign="top">
                                 
                                        <asp:TextBox CssClass="textbox1" ID="txtPostbox" runat="server" meta:resourcekey="txtPostbox"></asp:TextBox>
                                    </td>
                                </tr>
                                
                                <%--new fields added below--%>
                                
                                 <tr>
                                    <td valign="top">
                                        <asp:Literal ID="ML_0512" runat="server" meta:resourcekey="ML_0063"> Address 1</asp:Literal>
                                    </td>
                                    <td class="colon" valign="top">
                                        <asp:Literal ID="ML_0513" runat="server" meta:resourcekey="ML_0513">:</asp:Literal>
                                    </td>
                                    <td valign="top">
                                        <asp:TextBox CssClass="textbox1" ID="txtPostBoxAddress1" runat="server"  meta:resourcekey="txtPostBoxAddress1"></asp:TextBox><br />
                                        <asp:RequiredFieldValidator ID="RequiredFieldValidator29" runat="server" ControlToValidate="txtPostBoxAddress1"
                                            Display="Dynamic" ErrorMessage="<div class='alert' align='left'>Address1 can't be blank</div>" meta:resourcekey="RequiredFieldValidator3"></asp:RequiredFieldValidator>
                                    </td>
                                </tr>
                                <tr>
                                    <td valign="top">
                                        <asp:Literal ID="ML_0514" runat="server" meta:resourcekey="ML_0067"> Address 2</asp:Literal>
                                    </td>
                                    <td class="colon" valign="top">
                                        <asp:Literal ID="ML_0515" runat="server" meta:resourcekey="ML_0515">:</asp:Literal>
                                    </td>
                                    <td valign="top">
                                        <asp:TextBox CssClass="textbox1" ID="txtPostBoxAddress2" runat="server"  meta:resourcekey="txtStrtadd2ml"></asp:TextBox>
                                    </td>
                                </tr>
                                
                                
                                 <%--new fields added above--%>
                                
                                
                                
                                <tr>
                                    <td valign="top">
                                  
                                        <asp:Literal ID="ML_0135" runat="server" meta:resourcekey="ML_0135">City</asp:Literal>
                                    </td>
                                    <td valign="top" class="colon">
                                        <asp:Literal ID="ML_0136" runat="server" meta:resourcekey="ML_0136">:</asp:Literal>
                                    </td>
                                    
                                    <td  valign="top">
                                        <asp:TextBox CssClass="textbox1" ID="txtPostboxCity" runat="server" meta:resourcekey="txtPostboxCity"></asp:TextBox>
                                    </td>
                                </tr>
                                <tr>
                                    <td valign="top">
                                        <asp:Literal ID="ML_0138" runat="server" meta:resourcekey="ML_0138">State</asp:Literal>
                                    </td>
                                    <td class="colon" valign="top">
                                        <asp:Literal ID="ML_0139" runat="server" meta:resourcekey="ML_0139">:</asp:Literal>
                                    </td>
                                    <td valign="top">
                                        <asp:DropDownList CssClass="dropdown_new" ID="ddlPostBoxState" runat="server">
                                        </asp:DropDownList><br />
                                        <asp:RequiredFieldValidator ID="RequiredFieldValidator25" runat="server" ControlToValidate="ddlPostBoxState"
                                            Display="Dynamic" ErrorMessage="<div class='alert' align='left'>Select post box state</div>"
                                            InitialValue="0" meta:resourcekey="RequiredFieldValidator25"></asp:RequiredFieldValidator>
                                        
                                    </td>
                                </tr>
                                <tr>
                                    <td valign="top">
                                    
                                        <asp:Literal ID="ML_0142" runat="server" meta:resourcekey="ML_0142">Zip/Postal Code</asp:Literal>
                                    </td>
                                    <td valign="top" class="colon">
                                        <asp:Literal ID="ML_0143" runat="server" meta:resourcekey="ML_0143">:</asp:Literal>
                                    </td>
                                    <td valign="top">
                                        <asp:TextBox CssClass="textbox1" ID="txtPostboxZip" runat="server" MaxLength="10" meta:resourcekey="txtPostboxZip"></asp:TextBox>
                                    </td>
                                </tr>
                                
                                <%--new fields added below--%>
                                <tr>
                                    <td valign="top">
                                        <asp:Literal ID="ML_0516" runat="server" meta:resourcekey="ML_0082">Country</asp:Literal> 
                                    </td>
                                    <td class="colon" valign="top">
                                        <asp:Literal ID="ML_0517" runat="server" meta:resourcekey="ML_0517">:</asp:Literal>
                                    </td>
                                    <td valign="top">
                                    
                                        <asp:DropDownList CssClass="dropdown_new" ID="ddlPostBoxCountry" runat="server">
                                        </asp:DropDownList><br />
                                        <asp:RequiredFieldValidator ID="RequiredFieldValidator30" runat="server" ControlToValidate="ddlPostBoxCountry"
                                            Display="Dynamic" ErrorMessage="<div class='alert' align='left'>Select Country</div>" InitialValue="0" meta:resourcekey="RequiredFieldValidator27"></asp:RequiredFieldValidator>
                                    </td>
                                </tr>
                                
                                <%--new fields added above--%>
                                
                                
                                
                            </table>
                                            </div>
                                        </div>
                                    </td>
                                </tr>
                            </table>
                            
                                
                                
                        </div>
                        <div class="separator_hor"></div>
                        <table width="100%">
                            <tr>
                                <td align="right">
                                    <asp:Button CssClass="modalbtn_active" ID="btnsave" runat="server" Text="Save" OnClick="btnsave_Click" meta:resourcekey="btnsave"/>
                                    <asp:Button CssClass="modalbtn_active" ID="btnCancel" runat="server" Text="Cancel" CausesValidation="False"
                                        OnClick="btnCancel_Click" meta:resourcekey="btnCancel" OnClientClick="hidePopup('ctl00_ContentPlaceHolder1_ModalPopupExtender2')"/>
                                </td>
                            </tr>
                            <tr>
                                <td valign="top">
                                    <asp:Label CssClass="blue" ID="lblerrmsg" runat="server" ForeColor="Red" Visible="False" meta:resourcekey="lblerrmsg"></asp:Label>
                                </td>
                            </tr>
                        </table>
                        </td>
                    </tr>
                  </table>
                </asp:Panel>
                <cc1:ModalPopupExtender ID="ModalPopupExtender2" runat="server" BackgroundCssClass="Inactive"
                    TargetControlID="ibtnAdd" PopupControlID="panel_Popup" />
                <asp:MultiView ID="Multiview1" runat="server">
                    <asp:View ID="SchoolView" runat="server">
                        
                        <table width="100%" cellpadding="0" border="0" cellspacing="0">
                            <tr>
                                <td class="grid_header">
                                    <table width="100%" cellpadding="0" cellspacing="0">
                                    <tr>
                                        <td class="grid_header_left"></td>
                                        <td class="grid_header_txt" style="padding-left:18px;"><asp:Literal ID="ML_0151" runat="server" meta:resourcekey="ML_0151">School Information</asp:Literal>
                                        
                                        </td>
                                        <td class="grid_header_right"></td>
                                    </tr>
                                    </table>
                                </td>
                            </tr>
                            <tr>
                                <td class="blue_content">
                                    <table width="100%" cellpadding="0" cellspacing="0">
                                        <tr>
                                            <td style="padding:10px 15px 0px 0px;" valign="top" width="49%">
                                                <div class="student_globe"><div style=" vertical-align:middle; text-align:left; height:32px;" class
                                                ="grid_row"><div class="school_header_txt" style="padding-top:7px;"><asp:Literal ID="ML_0152" runat="server" meta:resourcekey="ML_0152">General Information</asp:Literal></div></div></div>
                                                <div class="clear_medium"></div>
                                                <div style="padding-left:38px;">
                                                    <table cellspacing="0" cellpadding="2" width="100%">
                                        <tr>
                                            <td class="width40" valign="top">
                                                <span class="school_txt"><asp:Literal ID="ML_0153" runat="server" meta:resourcekey="ML_0153">School Name</asp:Literal></span>
                                            </td>
                                            <td class="colon" valign="top">
                                                <asp:Literal ID="ML_0154" runat="server" meta:resourcekey="ML_0154">:</asp:Literal>
                                            </td>
                                            <td class="blue student_content1" valign="top">
                                                <asp:Label CssClass="blue_mid" ID="lblSchoolName" runat="server" meta:resourcekey="lblSchoolName"></asp:Label>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td valign="top">
                                                <span class="school_txt"><asp:Literal ID="ML_0156" runat="server" meta:resourcekey="ML_0156">Short Name</asp:Literal></span>
                                            </td>
                                            <td valign="top">
                                                <asp:Literal ID="ML_0157" runat="server" meta:resourcekey="ML_0157">:</asp:Literal>
                                            </td>
                                            <td valign="top">
                                                <asp:Label CssClass="blue_mid" ID="lblShortName" runat="server" meta:resourcekey="lblShortName"></asp:Label>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td valign="top">
                                                <span class="school_txt"><asp:Literal ID="ML_0159" runat="server" meta:resourcekey="ML_0159">Principal</asp:Literal> </span>
                                            </td>
                                            <td  valign="top">
                                                <asp:Literal ID="ML_0160" runat="server" meta:resourcekey="ML_0160">:</asp:Literal>
                                            </td>
                                            <td valign="top">
                                                <asp:Label CssClass="blue_mid" ID="lblPrincipal" runat="server" meta:resourcekey="lblPrincipal"></asp:Label>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td  valign="top">
                                                <span class="school_txt"><asp:Literal ID="ML_0162" runat="server" meta:resourcekey="ML_0162">Telephone</asp:Literal></span>
                                            </td>
                                            <td  valign="top">
                                                <asp:Literal ID="ML_0163" runat="server" meta:resourcekey="ML_0163">:</asp:Literal>
                                            </td>
                                            <td  valign="top">
                                                <asp:Label CssClass="blue_mid" ID="lblPhone" runat="server" meta:resourcekey="lblPhone"></asp:Label>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td  valign="top">
                                                <span class="school_txt"><asp:Literal ID="ML_0165" runat="server" meta:resourcekey="ML_0165">Fax</asp:Literal></span>
                                            </td>
                                            <td  valign="top">
                                                <asp:Literal ID="ML_0166" runat="server" meta:resourcekey="ML_0166">:</asp:Literal>
                                            </td>
                                            <td  valign="top">
                                                <asp:Label CssClass="blue_mid" ID="lblFax" runat="server" meta:resourcekey="lblFax"></asp:Label>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td  valign="top">
                                                <span class="school_txt"><asp:Literal ID="ML_0168" runat="server" meta:resourcekey="ML_0168">Emergency Phone</asp:Literal></span>
                                            </td>
                                            <td  valign="top">
                                                <asp:Literal ID="ML_0169" runat="server" meta:resourcekey="ML_0169">:</asp:Literal>
                                            </td>
                                            <td  valign="top">
                                                <asp:Label CssClass="blue_mid" ID="lblEmerPhone" runat="server" meta:resourcekey="lblEmerPhone"></asp:Label>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td  valign="top">
                                                <span class="school_txt"><asp:Literal ID="ML_0171" runat="server" meta:resourcekey="ML_0171">Website</asp:Literal></span>
                                            </td>
                                            <td  valign="top">
                                                <asp:Literal ID="ML_0172" runat="server" meta:resourcekey="ML_0172">:</asp:Literal>
                                            </td>
                                            <td  valign="top">
                                                <asp:Label CssClass="blue_mid" ID="lblUrl" runat="server" meta:resourcekey="lblUrl"></asp:Label>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td  valign="top">
                                                <span class="school_txt"><asp:Literal ID="ML_0174" runat="server" meta:resourcekey="ML_0174">Email</asp:Literal> </span>
                                            </td>
                                            <td  valign="top">
                                                <asp:Literal ID="ML_0175" runat="server" meta:resourcekey="ML_0175">:</asp:Literal>
                                            </td>
                                            <td  valign="top">
                                                <asp:Label CssClass="blue_mid" ID="lblEmail" runat="server" meta:resourcekey="lblEmail"></asp:Label>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td  valign="top">
                                                <span class="school_txt"><asp:Literal ID="ML_0177" runat="server" meta:resourcekey="ML_0177">Base Grading Scale</asp:Literal> </span>
                                            </td>
                                            <td  valign="top">
                                                <asp:Literal ID="ML_0178" runat="server" meta:resourcekey="ML_0178">:</asp:Literal>
                                            </td>
                                            <td  valign="top">
                                                <asp:Label CssClass="blue" ID="lblGradingScale" runat="server" meta:resourcekey="lblGradingScale"></asp:Label>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td  valign="top">
                                                <span class="school_txt"><asp:Literal ID="ML_0180" runat="server" meta:resourcekey="ML_0180">CEB Code</asp:Literal></span>
                                            </td>
                                            <td  valign="top">
                                                <asp:Literal ID="ML_0181" runat="server" meta:resourcekey="ML_0181">:</asp:Literal>
                                            </td>
                                            <td  valign="top">
                                                <asp:Label CssClass="blue_mid" ID="lblCeeb" runat="server" meta:resourcekey="lblCeeb"></asp:Label>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td  valign="top">
                                                <span class="school_txt"><asp:Literal ID="ML_0183" runat="server" meta:resourcekey="ML_0183">Type</asp:Literal></span>
                                            </td>
                                            <td  valign="top">
                                                <asp:Literal ID="ML_0184" runat="server" meta:resourcekey="ML_0184">:</asp:Literal>
                                            </td>
                                            <td  valign="top">
                                                <asp:Label CssClass="blue_mid" ID="lblType" runat="server" meta:resourcekey="lblType"></asp:Label>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td  valign="top">
                                                <span class="school_txt"><asp:Literal ID="ML_0186" runat="server" meta:resourcekey="ML_0186">Level</asp:Literal></span>
                                            </td>
                                            <td  valign="top">
                                                <asp:Literal ID="ML_0187" runat="server" meta:resourcekey="ML_0187">:</asp:Literal>
                                            </td>
                                            <td  valign="top">
                                                <asp:Label CssClass="blue_mid" ID="lblLevel" runat="server" meta:resourcekey="lblLevel"></asp:Label>
                                            </td>
                                        </tr>
                                        
                                    </table>
                                                </div>
                                            </td>
                                            <td class="bevel_verline colon" style="padding-right:8px;">&nbsp;</td>
                                            <td style="padding:10px 10px 0px 0px;" valign="top" width="50%">
                                                <div class="student_street"><div style="vertical-align:middle; text-align:left; height:32px;" class
                                                ="grid_row"><div class="school_header_txt" style="padding-top:7px;"><asp:Literal ID="ML_0195" runat="server" meta:resourcekey="ML_0195"> Address</asp:Literal></div></div></div>
                                                <div class="clear_medium"></div>
                                                <div style="padding-left:50px;">
                                       <table cellspacing="0" cellpadding="2" width="100%">
                                        <tr>
                                            <td  valign="top" class="width40">
                                                <span class="school_txt"><asp:Literal ID="ML_0196" runat="server" meta:resourcekey="ML_0196"> Address 1</asp:Literal></span>
                                            </td>
                                            <td  valign="top" class="colon">
                                                <asp:Literal ID="ML_0197" runat="server" meta:resourcekey="ML_0197">:</asp:Literal>
                                            </td>
                                            <td class="student_content1">
                                                <asp:Label CssClass="blue_mid" ID="lblAddress1" runat="server" meta:resourcekey="lblAddress1"></asp:Label>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td  valign="top">
                                                <span class="school_txt"><asp:Literal ID="ML_0199" runat="server" meta:resourcekey="ML_0199">Street Address 2</asp:Literal></span>
                                            </td>
                                            <td  valign="top">
                                                <asp:Literal ID="ML_0200" runat="server" meta:resourcekey="ML_0200">:</asp:Literal>
                                            </td>
                                            <td  valign="top">
                                                <asp:Label CssClass="blue_mid" ID="lblAddress2" runat="server" meta:resourcekey="lblAddress2"></asp:Label>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td  valign="top">
                                                <span class="school_txt"><asp:Literal ID="ML_0202" runat="server" meta:resourcekey="ML_0202">City</asp:Literal></span>
                                            </td>
                                            <td  valign="top">
                                                <asp:Literal ID="ML_0203" runat="server" meta:resourcekey="ML_0203">:</asp:Literal>
                                            </td>
                                            <td  valign="top">
                                                <asp:Label CssClass="blue_mid" ID="lblCity" runat="server" meta:resourcekey="lblCity"></asp:Label>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td  valign="top">
                                                <span class="school_txt"><asp:Literal ID="ML_0205" runat="server" meta:resourcekey="ML_0205">State</asp:Literal></span>
                                            </td>
                                            <td  valign="top">
                                                <asp:Literal ID="ML_0206" runat="server" meta:resourcekey="ML_0206">:</asp:Literal>
                                            </td>
                                            <td  valign="top">
                                                <asp:Label CssClass="blue_mid" ID="lblState" runat="server" meta:resourcekey="lblState"></asp:Label>
                                            </td>
                                        </tr>
                                         <tr>
                                            <td  valign="top">
                                                <span class="school_txt"><asp:Literal ID="ML_0208" runat="server" meta:resourcekey="ML_0208">Zip/Postal Code</asp:Literal></span>
                                            </td>
                                            <td  valign="top">
                                                <asp:Literal ID="ML_0209" runat="server" meta:resourcekey="ML_0209">:</asp:Literal>
                                            </td>
                                            <td  valign="top">
                                                <asp:Label CssClass="blue_mid" ID="lblZip" runat="server" meta:resourcekey="lblZip"></asp:Label>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td  valign="top">
                                                <span class="school_txt"><asp:Literal ID="ML_0211" runat="server" meta:resourcekey="ML_0211">Country</asp:Literal> </span>
                                            </td>
                                            <td  valign="top">
                                                <asp:Literal ID="ML_0212" runat="server" meta:resourcekey="ML_0212">:</asp:Literal>
                                            </td>
                                            <td  valign="top">
                                                <asp:Label CssClass="blue_mid" ID="lblCountry" runat="server" meta:resourcekey="lblCountry"></asp:Label>
                                            </td>
                                        </tr>
                                       
                                    </table>
                                                </div>
                                                <div class="clear_medium"></div>
                                                <div class="student_mail">
                                                <div style=" vertical-align:middle; text-align:left; height:32px;" class="grid_row">
                                                <table width="100%" border="0">
                                                <tr>
                                                    <td class="school_header_txt" style="padding-top:7px;"><strong><asp:Literal ID="ML_0214" runat="server" meta:resourcekey="ML_0214">Mailing Address</asp:Literal></strong></td>
                                                </tr>
                                            </table></div></div>
                                                <div class="clear_medium"></div>
                                                <div style="padding-left:50px;">
                                                    <table cellpadding="2" cellspacing="0" width="100%">
                                        <tr>
                                            <td  valign="top" class="width40">
                                                <span class="school_txt"><asp:Literal ID="ML_0292" runat="server" meta:resourcekey="ML_0292">Post Office Box</asp:Literal></span>
                                            </td>
                                            <td  valign="top" class="colon">
                                                <asp:Literal ID="ML_0293" runat="server" meta:resourcekey="ML_0293">:</asp:Literal>
                                            </td>
                                            <td class="student_content1">
                                                <asp:Label CssClass="blue_mid" ID="lblPostBox" runat="server" meta:resourcekey="lblPostBox"></asp:Label>
                                            </td>
                                        </tr>
                                        
                                        <%--new fields added below--%>
                                        
                                         <tr>
                                            <td  valign="top" class="width40">
                                                <span class="school_txt"><asp:Literal ID="Literal1" runat="server" meta:resourcekey="ML_0196"> Address 1</asp:Literal></span>
                                            </td>
                                            <td  valign="top" class="colon">
                                                <asp:Literal ID="Literal2" runat="server" meta:resourcekey="ML_0197">:</asp:Literal>
                                            </td>
                                            <td class="student_content1">
                                                <asp:Label CssClass="blue_mid" ID="lblPostBoxAddress1" runat="server" meta:resourcekey="lblAddress1"></asp:Label>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td  valign="top">
                                                <span class="school_txt"><asp:Literal ID="Literal3" runat="server" meta:resourcekey="ML_0199">Address 2</asp:Literal></span>
                                            </td>
                                            <td  valign="top">
                                                <asp:Literal ID="Literal4" runat="server" meta:resourcekey="ML_0200">:</asp:Literal>
                                            </td>
                                            <td  valign="top">
                                                <asp:Label CssClass="blue_mid" ID="lblPostBoxAddress2" runat="server" meta:resourcekey="lblAddress2"></asp:Label>
                                            </td>
                                        </tr>
                                        
                                        
                                        
                                        <%--new fields added above--%>
                                        
                                        
                                        
                                        
                                        
                                        
                                        
                                        
                                        <tr>
                                            <td  valign="top">
                                                <span class="school_txt"><asp:Literal ID="ML_0295" runat="server" meta:resourcekey="ML_0295">City</asp:Literal></span>
                                            </td>
                                            <td  valign="top">
                                                <asp:Literal ID="ML_0296" runat="server" meta:resourcekey="ML_0296">:</asp:Literal>
                                            </td>
                                            <td  valign="top">
                                                <asp:Label CssClass="blue_mid" ID="lblPBCity" runat="server" meta:resourcekey="lblPBCity"></asp:Label>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td  valign="top">
                                                <span class="school_txt"><asp:Literal ID="ML_0298" runat="server" meta:resourcekey="ML_0298">State</asp:Literal></span>
                                            </td>
                                            <td  valign="top">
                                                <asp:Literal ID="ML_0299" runat="server" meta:resourcekey="ML_0299">:</asp:Literal>
                                            </td>
                                            <td  valign="top">
                                                <asp:Label CssClass="blue_mid" ID="lblPBState" runat="server" meta:resourcekey="lblPBState"></asp:Label>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td  valign="top">
                                                <span class="school_txt"><asp:Literal ID="ML_0301" runat="server" meta:resourcekey="ML_0301">Zip/Postal Code</asp:Literal></span>
                                            </td>
                                            <td  valign="top">
                                                <asp:Literal ID="ML_0302" runat="server" meta:resourcekey="ML_0302">:</asp:Literal>
                                            </td>
                                            <td  valign="top">
                                                <asp:Label CssClass="blue_mid" ID="lblPBZip" runat="server" meta:resourcekey="lblPBZip"></asp:Label>
                                            </td>
                                        </tr>
                                        
                                        
                                     <%--   new fields added below--%>
                                     <tr>
                                            <td  valign="top">
                                                <span class="school_txt"><asp:Literal ID="Literal5" runat="server" meta:resourcekey="ML_0211">Country</asp:Literal> </span>
                                            </td>
                                            <td  valign="top">
                                                <asp:Literal ID="Literal6" runat="server" meta:resourcekey="ML_0212">:</asp:Literal>
                                            </td>
                                            <td  valign="top">
                                                <asp:Label CssClass="blue_mid" ID="lblPostBoxCountry" runat="server" meta:resourcekey="lblCountry"></asp:Label>
                                            </td>
                                        </tr>
                                     
                                    <%-- new fileds added above--%>
                                    </table>
                                                </div>
                                            </td>
                                        </tr>
                                    </table>
                                    
                                </td>
                            </tr>
                        </table>
                        
                                
                        
                    </asp:View>
                </asp:MultiView>
                <asp:Panel ID="panel_PopupEdit" runat="server" Style="display: none" CssClass="ModalPopup"
                     Width="950px" Height="550">
                <table width="100%" cellpadding="0" cellspacing="0">
                    <tr>
                        <td class="modal_header_left bottom_black">&nbsp;</td>
                        <td class="modal_header_bg" valign="top"><div class="modal_header"><asp:Literal ID="ML_0305" runat="server" meta:resourcekey="ML_0305">Edit School Details</asp:Literal></div></td>
                    </tr>
                    <tr>
                        <td class="modal_rtgrey">&nbsp;</td>
                        <td class="modal_bg">
                    
                        <div style="overflow: auto; overflow-x: hidden; width: 100%; height: 441px;">
                            
                            <table width="100%">
                                <tr>
                                    <td width="49%" valign="top" style="padding-right:10px;">
                                        <table cellspacing="0" cellpadding="2" width="100%">
                                            <tr>
                                                <td class="heading_black"><asp:Literal ID="ML_0306" runat="server" meta:resourcekey="ML_0306">General Information</asp:Literal></td>
                                            </tr>
                                        </table>
                                        <div class="separator_hor"></div>
                               <table cellpadding="2" cellspacing="0" width="100%">
                                <tr>
                                    <td style="width:50%;" valign="top">
                                        <asp:Literal ID="ML_0307" runat="server" meta:resourcekey="ML_0307">School Name</asp:Literal>
                                    </td>
                                    <td class="colon" valign="top">
                                        <asp:Literal ID="ML_0308" runat="server" meta:resourcekey="ML_0308">:</asp:Literal>
                                    </td>
                                    <td  valign="top">
                                        <asp:TextBox CssClass="textbox1" ID="txtSchoolNameEdit" runat="server" meta:resourcekey="txtSchoolNameEdit"></asp:TextBox><br />
                                        <asp:RequiredFieldValidator ID="RequiredFieldValidator12" runat="server" ControlToValidate="txtSchoolNameEdit"
                                            Display="Dynamic" ErrorMessage="<div class='alert' align='left'>School name can't blank</div>"
                                            ValidationGroup="1" meta:resourcekey="RequiredFieldValidator12"></asp:RequiredFieldValidator>
                                    </td>
                                </tr>
                                <tr>
                                    <td valign="top">
                                        <asp:Literal ID="ML_0311" runat="server" meta:resourcekey="ML_0311">Short Name</asp:Literal>
                                    </td>
                                    <td valign="top">
                                        <asp:Literal ID="ML_0312" runat="server" meta:resourcekey="ML_0312">:</asp:Literal>
                                    </td>
                                    <td  valign="top">
                                        <asp:TextBox CssClass="textbox1" ID="txtShortNameEdit" runat="server" meta:resourcekey="txtShortNameEdit"></asp:TextBox><br />
                                        <asp:RequiredFieldValidator ID="RequiredFieldValidator13" runat="server" ControlToValidate="txtShortNameEdit"
                                            Display="Dynamic" ErrorMessage="<div class='alert' align='left'>Short name can't blank</div>"
                                            ValidationGroup="1" meta:resourcekey="RequiredFieldValidator13"></asp:RequiredFieldValidator>
                                    </td>
                                </tr>
                                <tr>
                                    <td  valign="top">
                                        <asp:Literal ID="ML_0315" runat="server" meta:resourcekey="ML_0315">Principal</asp:Literal> 
                                    </td>
                                    <td  valign="top" class="colon">
                                        <asp:Literal ID="ML_0316" runat="server" meta:resourcekey="ML_0316">:</asp:Literal>
                                    </td>
                                    <td  valign="top">
                                        <asp:TextBox CssClass="textbox1" ID="txtPrincipalEdit" runat="server" meta:resourcekey="txtPrincipalEdit"></asp:TextBox>
                                    </td>
                                </tr>
                                <tr>
                                    <td valign="top">
                                        <asp:Literal ID="ML_0318" runat="server" meta:resourcekey="ML_0318">Telephone</asp:Literal>
                                    </td>
                                    <td valign="top">
                                        <asp:Literal ID="ML_0319" runat="server" meta:resourcekey="ML_0319">:</asp:Literal>
                                    </td>
                                    <td  valign="top">
                                        <asp:TextBox CssClass="textbox1" ID="txtPhoneEdit" runat="server" meta:resourcekey="txtPhoneEdit"></asp:TextBox><br />
                                        <asp:RequiredFieldValidator ID="RequiredFieldValidator17" runat="server" ControlToValidate="txtPhoneEdit"
                                            Display="Dynamic" ErrorMessage="<div class='alert' align='left'>Phone can't blank</div>"
                                            ValidationGroup="1" meta:resourcekey="RequiredFieldValidator17"></asp:RequiredFieldValidator>
                                    </td>
                                </tr>
                                <tr>
                                    <td  valign="top">
                                        <asp:Literal ID="ML_0322" runat="server" meta:resourcekey="ML_0322">Fax</asp:Literal>
                                    </td>
                                    <td  valign="top">
                                        <asp:Literal ID="ML_0323" runat="server" meta:resourcekey="ML_0323">:</asp:Literal>
                                    </td>
                                    <td  valign="top">
                                        <asp:TextBox CssClass="textbox1" ID="txtFaxEdit" runat="server" meta:resourcekey="txtFaxEdit"></asp:TextBox>
                                    </td>
                                </tr>
                                <tr>
                                    <td  valign="top">
                                        <asp:Literal ID="ML_0325" runat="server" meta:resourcekey="ML_0325">Emergency Phone</asp:Literal>
                                    </td>
                                    <td  valign="top">
                                        <asp:Literal ID="ML_0326" runat="server" meta:resourcekey="ML_0326">:</asp:Literal>
                                    </td>
                                    <td  valign="top">
                                        <asp:TextBox CssClass="textbox1" ID="txtEmerEdit" runat="server" meta:resourcekey="txtEmerEdit"></asp:TextBox>
                                    </td>
                                </tr>
                                <tr>
                                    <td  valign="top">
                                        <asp:Literal ID="ML_0328" runat="server" meta:resourcekey="ML_0328">Website</asp:Literal>
                                    </td>
                                    <td  valign="top">
                                        <asp:Literal ID="ML_0329" runat="server" meta:resourcekey="ML_0329">:</asp:Literal>
                                    </td>
                                    <td  valign="top">
                                        <asp:TextBox CssClass="textbox1" ID="txtUrlEdit" runat="server" meta:resourcekey="txtUrlEdit"></asp:TextBox>
                                    </td>
                                </tr>
                                <tr>
                                    <td valign="top">
                                        <asp:Literal ID="ML_0331" runat="server" meta:resourcekey="ML_0331">Email</asp:Literal> 
                                    </td>
                                    <td valign="top">
                                        <asp:Literal ID="ML_0332" runat="server" meta:resourcekey="ML_0332">:</asp:Literal>
                                    </td>
                                    <td  valign="top">
                                        <asp:TextBox CssClass="textbox1" ID="txtEmailEdit" runat="server" meta:resourcekey="txtEmailEdit"></asp:TextBox><br />
                                       
                                    </td>
                                </tr>
                                <tr>
                                    <td  valign="top">
                                        <asp:Literal ID="ML_0335" runat="server" meta:resourcekey="ML_0335">Base Grade Scale</asp:Literal>
                                    </td>
                                    <td  valign="top">
                                        <asp:Literal ID="ML_0336" runat="server" meta:resourcekey="ML_0336">:</asp:Literal>
                                    </td>
                                    <td  valign="top">
                                        <asp:TextBox CssClass="textbox1" ID="txtGradeScaleEdit" runat="server" meta:resourcekey="txtGradeScaleEdit"></asp:TextBox>
                                    </td>
                                </tr>
                                <tr>
                                    <td valign="top">
                                        <asp:Literal ID="ML_0338" runat="server" meta:resourcekey="ML_0338">CEB Code</asp:Literal>
                                    </td>
                                    <td valign="top">
                                        <asp:Literal ID="ML_0339" runat="server" meta:resourcekey="ML_0339">:</asp:Literal>
                                    </td>
                                    <td  valign="top">
                                        <asp:TextBox CssClass="textbox1" ID="txtCeebEdit" runat="server" meta:resourcekey="txtCeebEdit"></asp:TextBox><br />
                                        <asp:RequiredFieldValidator ID="RequiredFieldValidator23" runat="server" ControlToValidate="txtCeebEdit"
                                            Display="Dynamic" ErrorMessage="<div class='alert' align='left'>CEB can't blank</div>"
                                            ValidationGroup="1" meta:resourcekey="RequiredFieldValidator23"></asp:RequiredFieldValidator>
                                    </td>
                                </tr>
                                <tr>
                                    <td valign="top">
                                        <asp:Literal ID="ML_0342" runat="server" meta:resourcekey="ML_0342">Type</asp:Literal>
                                    </td>
                                    <td valign="top">
                                        <asp:Literal ID="ML_0343" runat="server" meta:resourcekey="ML_0343">:</asp:Literal>
                                    </td>
                                    <td  valign="top">
                                        <asp:TextBox CssClass="textbox1" ID="txtTypeEdit" runat="server" meta:resourcekey="txtTypeEdit"></asp:TextBox><br />
                                        <asp:RequiredFieldValidator ID="RequiredFieldValidator18" runat="server" ControlToValidate="txtTypeEdit"
                                            Display="Dynamic" ErrorMessage="<div class='alert' align='left'>Type can't blank</div>"
                                            ValidationGroup="1" meta:resourcekey="RequiredFieldValidator18"></asp:RequiredFieldValidator>
                                    </td>
                                </tr>
                                <tr>
                                    <td valign="top">
                                        <asp:Literal ID="ML_0346" runat="server" meta:resourcekey="ML_0346">Level</asp:Literal>
                                    </td>
                                    <td valign="top">
                                        <asp:Literal ID="ML_0347" runat="server" meta:resourcekey="ML_0347">:</asp:Literal>
                                    </td>
                                    <td  valign="top">
                                        <asp:TextBox CssClass="textbox1" ID="txtLevelEdit" runat="server" meta:resourcekey="txtLevelEdit"></asp:TextBox><br />
                                        <asp:RequiredFieldValidator ID="RequiredFieldValidator19" runat="server" ControlToValidate="txtLevelEdit"
                                            Display="Dynamic" ErrorMessage="<div class='alert' align='left'>Level can't blank</div>"
                                            ValidationGroup="1" meta:resourcekey="RequiredFieldValidator19"></asp:RequiredFieldValidator>
                                    </td>
                                </tr>
                               
                           
                             </table>
                                    </td>
                                    <td class="separator_ver colon" style="padding-right:8px;">&nbsp;</td>
                                    <td valign="top">
                               <table width="100%" cellpadding="2" cellspacing="0">
                                <tr>
                                    <td class="heading_black" colspan="3">
                                        <asp:Literal ID="ML_0358" runat="server" meta:resourcekey="ML_0358"> Address</asp:Literal> 
                                    </td>
                                </tr>
                                <tr>
                                    <td class="separator_hor" colspan="3">
                                    </td>
                                </tr>
                                <tr>
                                    <td valign="top">
                                        <asp:Literal ID="ML_0359" runat="server" meta:resourcekey="ML_0359"> Address 1</asp:Literal>
                                    </td>
                                    <td valign="top" class="colon">
                                        <asp:Literal ID="ML_0360" runat="server" meta:resourcekey="ML_0360">:</asp:Literal>
                                    </td>
                                    <td  valign="top">
                                        <asp:TextBox CssClass="textbox1" ID="txtAddress1Edit" runat="server"  meta:resourcekey="txtAddress1Edit"></asp:TextBox><br />
                                        <asp:RequiredFieldValidator ID="RequiredFieldValidator14" runat="server" ControlToValidate="txtAddress1Edit"
                                            Display="Dynamic" ErrorMessage="<div class='alert' align='left'>Address1 can't blank</div>"
                                            ValidationGroup="1" meta:resourcekey="RequiredFieldValidator14"></asp:RequiredFieldValidator>
                                    </td>
                                 </tr>
                                <tr>
                                    <td valign="top">
                                        <asp:Literal ID="ML_0363" runat="server" meta:resourcekey="ML_0363"> Address 2</asp:Literal>
                                    </td>
                                    <td valign="top">
                                        <asp:Literal ID="ML_0364" runat="server" meta:resourcekey="ML_0364">:</asp:Literal>
                                    </td>
                                    <td  valign="top">
                                        <asp:TextBox CssClass="textbox1" ID="txtAddress2Edit" runat="server"  meta:resourcekey="txtAddress2Edit"></asp:TextBox>
                                    </td>
                                </tr>
                                <tr>
                                    <td valign="top">
                                        <asp:Literal ID="ML_0366" runat="server" meta:resourcekey="ML_0366">City</asp:Literal>
                                    </td>
                                    <td valign="top">
                                        <asp:Literal ID="ML_0367" runat="server" meta:resourcekey="ML_0367">:</asp:Literal>
                                    </td>
                                    <td  valign="top">
                                        <asp:TextBox CssClass="textbox1" ID="txtCityEdit" runat="server" meta:resourcekey="txtCityEdit"></asp:TextBox><br />
                                        <asp:RequiredFieldValidator ID="RequiredFieldValidator15" runat="server" ControlToValidate="txtCityEdit"
                                            Display="Dynamic" ErrorMessage="<div class='alert' align='left'>City can't blank</div>"
                                            ValidationGroup="1" meta:resourcekey="RequiredFieldValidator15"></asp:RequiredFieldValidator>
                                    </td>
                                </tr>
                                <tr>
                                    <td valign="top">
                                        <asp:Literal ID="ML_0370" runat="server" meta:resourcekey="ML_0370">State</asp:Literal>
                                    </td>
                                    <td valign="top">
                                        <asp:Literal ID="ML_0371" runat="server" meta:resourcekey="ML_0371">:</asp:Literal>
                                    </td>
                                    <td  valign="top">
                                        <asp:DropDownList  ID="ddlStateEdit" runat="server">
                                        </asp:DropDownList><br />
                                        <asp:RequiredFieldValidator ID="RequiredFieldValidator22" runat="server" ControlToValidate="ddlStateEdit"
                                            Display="Dynamic" ErrorMessage="<div class='alert' align='left'>Select state</div>" InitialValue="0"
                                            ValidationGroup="1" meta:resourcekey="RequiredFieldValidator22"></asp:RequiredFieldValidator>
                                    </td>
                                </tr>
                                <tr>
                                    <td valign="top">
                                        <asp:Literal ID="ML_0374" runat="server" meta:resourcekey="ML_0374">Zip/Postal Code</asp:Literal>
                                    </td>
                                    <td valign="top">
                                        <asp:Literal ID="ML_0375" runat="server" meta:resourcekey="ML_0375">:</asp:Literal>
                                    </td>
                                    <td  valign="top">
                                        <asp:TextBox CssClass="textbox1" ID="txtZipEdit" runat="server" MaxLength="10" meta:resourcekey="txtZipEdit"></asp:TextBox><br />
                                        <asp:RequiredFieldValidator ID="RequiredFieldValidator16" runat="server" ControlToValidate="txtZipEdit"
                                            Display="Dynamic" ErrorMessage="<div class='alert' align='left'>Zip can't blank</div>"
                                            ValidationGroup="1" meta:resourcekey="RequiredFieldValidator16"></asp:RequiredFieldValidator>
                                    </td>
                                </tr>
                                <tr>
                                    <td valign="top">
                                        <asp:Literal ID="ML_0378" runat="server" meta:resourcekey="ML_0378">Country</asp:Literal> 
                                    </td>
                                    <td valign="top">
                                        <asp:Literal ID="ML_0379" runat="server" meta:resourcekey="ML_0379">:</asp:Literal>
                                    </td>
                                    <td  valign="top">
                                        <asp:DropDownList CssClass="dropdown_new" ID="ddlCountryEdit" runat="server">
                                        </asp:DropDownList><br />
                                        <asp:RequiredFieldValidator ID="RequiredFieldValidator28" runat="server" ControlToValidate="ddlCountryEdit"
                                            Display="Dynamic" ErrorMessage="<div class='alert' align='left'>Select Country</div>" InitialValue="0"
                                            ValidationGroup="1" meta:resourcekey="RequiredFieldValidator28"></asp:RequiredFieldValidator>
                                    </td>
                                </tr>
                                </table>
                               <table width="100%" cellpadding="2" cellspacing="0">
                                <tr>
                                    <td colspan="3" class="clear_medium"></td>
                                </tr>
                                <tr>
                                    <td colspan="3">
                                        <span class="heading_black"><asp:Literal ID="ML_0382" runat="server" meta:resourcekey="ML_0382">Mailing Address</asp:Literal></span><span style="padding-left:5px;"><asp:CheckBox ID="chkAddrs" runat="server" meta:resourcekey="chkAddrs"/> <asp:Literal ID="ML_0499" runat="server" meta:resourcekey="ML_0499">Same as Address</asp:Literal></span>
                                    </td>
                                </tr>
                                <tr>
                                    <td class="separator_hor" colspan="3">
                                    </td>
                                </tr>
                                <tr>
                                    <td  valign="top">
                                        <asp:Literal ID="ML_0500" runat="server" meta:resourcekey="ML_0500">Post Office Box</asp:Literal>
                                    </td>
                                    <td  valign="top">
                                        <asp:Literal ID="ML_0501" runat="server" meta:resourcekey="ML_0501">:</asp:Literal>
                                    </td>
                                    <td  valign="top">
                                        <asp:TextBox CssClass="textbox1" ID="txtPostBoxEdit" runat="server" meta:resourcekey="txtPostBoxEdit"></asp:TextBox>
                                    </td>
                                </tr>
                                
                                
                               <%-- new fields added below--%>
                               
                               
                               <tr>
                                    <td valign="top">
                                        <asp:Literal ID="Literal7" runat="server" meta:resourcekey="ML_0359"> Address 1</asp:Literal>
                                    </td>
                                    <td valign="top" class="colon">
                                        <asp:Literal ID="Literal8" runat="server" meta:resourcekey="ML_0360">:</asp:Literal>
                                    </td>
                                    <td  valign="top">
                                        <asp:TextBox CssClass="textbox1" ID="txtPostBoxAddress1Edit" runat="server"  meta:resourcekey="txtAddress1Edit"></asp:TextBox><br />
                                        <asp:RequiredFieldValidator ID="RequiredFieldValidator31" runat="server" ControlToValidate="txtPostBoxAddress1Edit"
                                            Display="Dynamic" ErrorMessage="<div class='alert' align='left'>Address1 can't blank</div>"
                                            ValidationGroup="1" meta:resourcekey="RequiredFieldValidator14"></asp:RequiredFieldValidator>
                                    </td>
                                 </tr>
                                <tr>
                                    <td valign="top">
                                        <asp:Literal ID="Literal9" runat="server" meta:resourcekey="ML_0363"> Address 2</asp:Literal>
                                    </td>
                                    <td valign="top">
                                        <asp:Literal ID="Literal10" runat="server" meta:resourcekey="ML_0364">:</asp:Literal>
                                    </td>
                                    <td  valign="top">
                                        <asp:TextBox CssClass="textbox1" ID="txtPostBoxAddress2Edit" runat="server"  meta:resourcekey="txtStrtadd2mledit"></asp:TextBox>
                                    </td>
                                </tr>
                               
                               
                              <%-- new fileds aded above--%>
                                
                                
                                
                                
                                <tr>
                                    <td  valign="top">
                                        <asp:Literal ID="ML_0503" runat="server" meta:resourcekey="ML_0503">City</asp:Literal>
                                    </td>
                                    <td  valign="top">
                                        <asp:Literal ID="ML_0504" runat="server" meta:resourcekey="ML_0504">:</asp:Literal>
                                    </td>
                                    <td  valign="top">
                                        <asp:TextBox CssClass="textbox1" ID="txtPostBoxCityEdit" runat="server" meta:resourcekey="txtPostBoxCityEdit"></asp:TextBox>
                                    </td>
                                </tr>
                                <tr>
                                    <td valign="top">
                                        <asp:Literal ID="ML_0506" runat="server" meta:resourcekey="ML_0506">State</asp:Literal>
                                    </td>
                                    <td valign="top">
                                        <asp:Literal ID="ML_0507" runat="server" meta:resourcekey="ML_0507">:</asp:Literal>
                                    </td>
                                    <td  valign="top">
                                        <asp:DropDownList CssClass="dropdown_new" ID="ddlPostBoxStateEdit" runat="server">
                                        </asp:DropDownList><br />
                                        <asp:RequiredFieldValidator ID="RequiredFieldValidator26" runat="server" ControlToValidate="ddlPostBoxStateEdit"
                                            Display="Dynamic" ErrorMessage="<div class='alert' align='left'>Select post box state</div>"
                                            InitialValue="0" ValidationGroup="1" meta:resourcekey="RequiredFieldValidator26"></asp:RequiredFieldValidator>
                                    </td>
                                </tr>
                                <tr>
                                    <td  valign="top">
                                        <asp:Literal ID="ML_0510" runat="server" meta:resourcekey="ML_0510">Zip/Postal Code</asp:Literal>
                                    </td>
                                    <td  valign="top">
                                        <asp:Literal ID="ML_0511" runat="server" meta:resourcekey="ML_0511">:</asp:Literal>
                                    </td>
                                    <td  valign="top">
                                        <asp:TextBox CssClass="textbox1" ID="txtPostBoxZipEdit" runat="server" MaxLength="10" meta:resourcekey="txtPostBoxZipEdit"></asp:TextBox>
                                    </td>
                                </tr>
                                
                               <%-- new fileds added below--%>
                               <tr>
                                    <td valign="top">
                                        <asp:Literal ID="Literal11" runat="server" meta:resourcekey="ML_0378">Country</asp:Literal> 
                                    </td>
                                    <td valign="top">
                                        <asp:Literal ID="Literal12" runat="server" meta:resourcekey="ML_0379">:</asp:Literal>
                                    </td>
                                    <td  valign="top">
                                        <asp:DropDownList CssClass="dropdown_new" ID="ddlcountrymledit" runat="server">
                                        </asp:DropDownList><br />
                                        <asp:RequiredFieldValidator ID="RequiredFieldValidator32" runat="server" ControlToValidate="ddlcountrymledit"
                                            Display="Dynamic" ErrorMessage="<div class='alert' align='left'>Select Country</div>" InitialValue="0"
                                            ValidationGroup="1" meta:resourcekey="RequiredFieldValidator28"></asp:RequiredFieldValidator>
                                    </td>
                                </tr>
                               <%--new fields added above--%>
                            </table>
                                    </td>
                                </tr>
                            </table>
                            
                            
                            
                            
                                    
                                    
                        </div>
                        <div class="separator_hor"></div>
                        <table width="100%" cellspacing="0" cellpadding="0">
                            <tr>
                                <td align="right">
                                    <asp:Button CssClass="modalbtn_active" ID="btnUpdate" runat="server" Text="Update" OnClick="btnUpdate_Click"
                                        ValidationGroup="1" meta:resourcekey="btnUpdate"/>
                                    <asp:Button CssClass="modalbtn_active" ID="btnUpdateCancel" runat="server" Text="Cancel"
                               CausesValidation="False" OnClick="btnUpdateCancel_Click" meta:resourcekey="btnUpdateCancel" OnClientClick="hidePopup('ctl00_ContentPlaceHolder1_ModalPopupExtenderEdit')"/>
                                </td>
                            </tr>
                            <tr>
                                <td  valign="top">
                                    <asp:Label CssClass="blue" ID="lblerrmsgedit" runat="server" Visible="False" ForeColor="Red" meta:resourcekey="lblerrmsgedit"></asp:Label>
                                </td>
                            </tr>
                        </table>
                        </td>
                    </tr>
                </table>
                        <asp:HiddenField ID="hdnschoolid" runat="server" />
                    </div>
                </asp:Panel>
                <cc1:ModalPopupExtender ID="ModalPopupExtenderEdit" runat="server" BackgroundCssClass="Inactive"
                    TargetControlID="imgBtnEdit" PopupControlID="panel_PopupEdit" Enabled="false" />
            </td>
        </tr>
    </table>
   <script type="text/javascript" language ="javascript" >
       function CheckSameAddress() {
           var BState = document.getElementById("ctl00_ContentPlaceHolder1_ddlPostBoxState");

           var BCountry = document.getElementById("ctl00_ContentPlaceHolder1_ddlPostBoxCountry");



           if (document.getElementById("ctl00_ContentPlaceHolder1_addrChk").checked == true) {
               var Text1 = document.aspnetForm.ctl00_ContentPlaceHolder1_txtCity.value;
               document.aspnetForm.ctl00_ContentPlaceHolder1_txtPostboxCity.value = Text1;

               var Text2 = document.aspnetForm.ctl00_ContentPlaceHolder1_txtZip.value;
               document.aspnetForm.ctl00_ContentPlaceHolder1_txtPostboxZip.value = Text2;

               var Text3 = document.aspnetForm.ctl00_ContentPlaceHolder1_txtAddress1.value;
               document.aspnetForm.ctl00_ContentPlaceHolder1_txtPostBoxAddress1.value = Text3;

               var Text4 = document.aspnetForm.ctl00_ContentPlaceHolder1_txtAddress2.value;
               document.aspnetForm.ctl00_ContentPlaceHolder1_txtPostBoxAddress2.value = Text4;

               var anicoun = document.getElementById("ctl00_ContentPlaceHolder1_ddlCountry");

               for (var selIndexc = anicoun.length - 1; selIndexc >= 0; selIndexc--) {
                   if (anicoun.options[selIndexc].selected) {
                       var value = anicoun.options[selIndexc].value;

                       var j = 0;
                       var end = BCountry.options.length;

                       while (j < end) {

                           if (BCountry.options[j].value == value) {
                               BCountry.options[j].selected = true;
                               BCountry.selectedIndex = j;

                               //return;
                           }
                           j++;

                       }

                   }
               }

               var ani = document.getElementById("ctl00_ContentPlaceHolder1_ddlState");

               for (var selIndex = ani.length - 1; selIndex >= 0; selIndex--) {
                   if (ani.options[selIndex].selected) {
                       var value = ani.options[selIndex].value;

                       var i = 0;
                       var end = BState.options.length;

                       while (i < end) {

                           if (BState.options[i].value == value) {
                               BState.options[i].selected = true;
                               BState.selectedIndex = i;
                               return;
                           }
                           i++;
                       }
                   }
               }










           }
           else {
               document.aspnetForm.ctl00_ContentPlaceHolder1_txtPostboxCity.value = "";
               document.aspnetForm.ctl00_ContentPlaceHolder1_txtPostboxZip.value = "";
               document.aspnetForm.ctl00_ContentPlaceHolder1_txtPostBoxAddress1.value = "";
               document.aspnetForm.ctl00_ContentPlaceHolder1_txtPostBoxAddress2.value = "";
               BState.selectedIndex = 0;
               BCountry.selectedIndex = 0;
           }
       }

       function CheckSameAddressForEdit() {
           var BState = document.getElementById("ctl00_ContentPlaceHolder1_ddlPostBoxStateEdit");

           var BCountry = document.getElementById("ctl00_ContentPlaceHolder1_ddlcountrymledit");

           if (document.getElementById("ctl00_ContentPlaceHolder1_chkAddrs").checked == true) {
               var Text1 = document.aspnetForm.ctl00_ContentPlaceHolder1_txtCityEdit.value;
               document.aspnetForm.ctl00_ContentPlaceHolder1_txtPostBoxCityEdit.value = Text1;

               var Text2 = document.aspnetForm.ctl00_ContentPlaceHolder1_txtZipEdit.value;
               document.aspnetForm.ctl00_ContentPlaceHolder1_txtPostBoxZipEdit.value = Text2;

               var Text3 = document.aspnetForm.ctl00_ContentPlaceHolder1_txtAddress1Edit.value;
               document.aspnetForm.ctl00_ContentPlaceHolder1_txtPostBoxAddress1Edit.value = Text3;

               var Text4 = document.aspnetForm.ctl00_ContentPlaceHolder1_txtAddress2Edit.value;
               document.aspnetForm.ctl00_ContentPlaceHolder1_txtPostBoxAddress2Edit.value = Text4;




               var ani = document.getElementById("ctl00_ContentPlaceHolder1_ddlStateEdit");

               for (var selIndex = ani.length - 1; selIndex >= 0; selIndex--) {
                   if (ani.options[selIndex].selected) {
                       var value = ani.options[selIndex].value;

                       var i = 0;
                       var end = BState.options.length;

                       while (i < end) {

                           if (BState.options[i].value == value) {
                               BState.options[i].selected = true;
                               BState.selectedIndex = i;
                               // return;
                           }
                           i++;
                       }
                   }
               }

               var anicoun = document.getElementById("ctl00_ContentPlaceHolder1_ddlCountryEdit");

               for (var selIndexc = anicoun.length - 1; selIndexc >= 0; selIndexc--) {
                   if (anicoun.options[selIndexc].selected) {
                       var value = anicoun.options[selIndexc].value;

                       var j = 0;
                       var end = BCountry.options.length;

                       while (j < end) {

                           if (BCountry.options[j].value == value) {
                               BCountry.options[j].selected = true;
                               BCountry.selectedIndex = j;

                               return;
                           }
                           j++;

                       }
                   }
               }



           }
           else {
               document.aspnetForm.ctl00_ContentPlaceHolder1_txtPostBoxCityEdit.value = "";
               document.aspnetForm.ctl00_ContentPlaceHolder1_txtPostBoxZipEdit.value = "";
               document.aspnetForm.ctl00_ContentPlaceHolder1_txtPostBoxAddress1Edit.value = "";
               document.aspnetForm.ctl00_ContentPlaceHolder1_txtPostBoxAddress2Edit.value = "";
               BState.selectedIndex = 0;
               BCountry.selectedIndex = 0;
           }
       }
    </script>


</asp:Content>
